package com.zn.mapper;

import com.zn.entity.AppVersion;

import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AppVersionMapper {
    /**
     * 查询是否有新版本
     * @param appVersion
     * @return
     */
    AppVersion existNewVersion(AppVersion appVersion);

    /**
     * 查询是否有强制更新版本
     * @param appVersion
     * @return
     */
    int existForceUpdateVersion(AppVersion appVersion);

}